package com.kt.emall.order.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: e-mall
 * @description: 页面跳转
 * @author: KamTang
 * @create: 2022-02-09 11:21
 **/
@Controller
public class IndexController {

    @GetMapping("/{page}.html")
    public String listPage(@PathVariable("page") String page) {
        return page;
    }
}
